package com.zxs.infra.basic.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zxs.infra.basic.entity.SubjectCategory;
import com.zxs.infra.basic.mapper.SubjectCategoryMapper;
import com.zxs.infra.basic.service.SubjectCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 题目分类表(SubjectCategory)表服务实现类
 *
 * @author makejava
 * @since 2025-11-03 21:20:53
 */
@Service
public class SubjectCategoryServiceImpl extends ServiceImpl<SubjectCategoryMapper, SubjectCategory> implements SubjectCategoryService {

    @Autowired
    private SubjectCategoryMapper subjectCategoryMapper;

    @Override
    public List<SubjectCategory> queryPrimaryCategory(SubjectCategory subjectCategory) {
        return subjectCategoryMapper.queryPrimaryCategory(subjectCategory);
    }
}
